<section class="content-wrapper">
	<div class="content-container container">
		<div class="main">
			<h1 class="page-title"><?php echo $this->translate('register or login'); ?></h1>
			<div class="account-login">
				<div class="col-1 new-users">
					<div class="content">
						<h2><?php echo $this->translate('register'); ?></h2>
						<form id="register" method="post">
                        <ul class="form-list">
                            <li class="fields">
                                <div class="customer-name">
                                    <div class="input-box name-firstname">
                                        <label for="name"><?php echo $this->translate('name'); ?><em>*</em></label>
                                        <input type="text" class="required-entry input-text" value="<?php if(isset($this->data['name'])) echo $this->data['name']; ?>" name="name" id="name" />
                                        <?php if(isset($this->messageError['name'])) echo $this->messageError['name']; ?>
                                    </div>
                                    <div class="clear"></div>
                                </div>          
                            </li>
                            <li class="fields">
                                <div class="customer-name">
                                    <div class="input-box name-firstname">
                                        <label for="phone_number"><?php echo $this->translate('phone number'); ?><em>*</em></label>
                                        <input type="text" class="required-entry input-text" value="<?php if(isset($this->data['phone_number'])) echo $this->data['phone_number']; ?>" name="phone_number" id="phone_number" />
                                        <?php if(isset($this->messageError['phone_number'])) echo $this->messageError['phone_number']; ?>
                                    </div>
                                    <div class="clear"></div>
                                </div>          
                            </li>
        					<li class="fields">
        						<div class="input-box">
        							<label class="required" for="email"><?php echo $this->translate('email'); ?><em>*</em></label>
        							<input type="text" class="input-text validate-email required-entry" value="<?php if(isset($this->data['email'])) echo $this->data['email']; ?>" id="email" name="email" />
                                    <?php if(isset($this->messageError['email'])) echo $this->messageError['email']; ?>
        						</div>
        						<div class="clear"></div>
        					</li>
                            <li class="fields">
        						<div class="input-box">
        							<label class="required" for="address"><?php echo $this->translate('address'); ?></label>
        							<input type="text" class="input-text validate-email required-entry" value="<?php if(isset($this->data['address'])) echo $this->data['address']; ?>" id="address" name="address" />
        						</div>
        						<div class="clear"></div>
        					</li>
        					<li class="fields">
        						<div class="input-box">
        							<label class="required" for="password"><?php echo $this->translate('password'); ?><em>*</em></label>
        							<input type="password" class="input-text validate-email required-entry" value="" id="password" name="password" />
                                    <?php if(isset($this->messageError['password'])) echo $this->messageError['password']; ?>
        						</div>
        						<div class="clear"></div>
        					</li>
                            <li class="fields">
        						<div class="input-box">
        							<label class="required" for="repassword"><?php echo $this->translate('repassword'); ?><em>*</em></label>
        							<input type="password" class="input-text validate-email required-entry" value="" id="repassword" name="repassword" />
                                    <?php if(isset($this->messageError['repassword'])) echo $this->messageError['repassword']; ?>
        						</div>
        						<div class="clear"></div>
        					</li>
        				</ul>
                        <input type="hidden" name="type" value="register" />
                        </form><p></p>
					</div>
					<div class="buttons-set">
						<a class="colors-btn" id="register" title="<?php echo $this->translate('create an account'); ?>" ><span><span><?php echo $this->translate('create an account'); ?></span></span></a>
						<div class="clear"></div>
					</div>
				</div>
				<div class="col-2 registered-users">
					<?php echo $this->render('account/login_form.phtml'); ?>
            	</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="clearfix"></div>
	</div>
</section>
<script>
$(document).ready(function(){
    $(".banner-wrapper").remove();
    
    $("a#register").click(function(){
        $("form#register").submit();
    });
    
    $("a#login").click(function(){
        $("form#login").submit();
    });
});
</script>